package com.bgs.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.bgs.pojo.RegisterInfo;
import com.bgs.pojo.User;
import com.bgs.pojo.UserUpdatePassword;
import org.apache.ibatis.annotations.Param;

/**
 * @program: xkgc
 * @description:
 * @author: Mr.Zhao
 * @create: 2022-05-09 15:31
 */
public interface LoginMapper extends BaseMapper<User> {

    User selectAll(@Param("email") String email, @Param("password") String password);

    User selectUser(String email);

    Integer getEmails(String emails);

    void uup(UserUpdatePassword upp);

    void addStore(RegisterInfo registerInfo);

    void addUser(RegisterInfo registerInfo);

    void addStoreimg(RegisterInfo registerInfo);

    void addStoreimgunion(RegisterInfo registerInfo);

    void addSeniority(RegisterInfo registerInfo);
}
